local battleSceneLoader = require "Battle/BattleSceneLoader"
BattleResultUI = { }
local this = BattleResultUI

function BattleResultUI:Show()
    self.gameObject = battleSceneLoader.loadUI("BattleResultUI")
    self.button = UnityUtil.GetChildBone(self.gameObject.transform, "ButtonBack")
    self.button = self.button:GetComponent(typeof(LuaButtonComponent))
    self.button:AddBtnClickGameObject( function(args)
        -- GameLog.Error("OnClick ButtonBack")
        UnityEngine.SceneManagement.SceneManager.LoadScene("TestBenzhen");
    end , self.button.gameObject)
end


function BattleResultUI.clear()
    UnityUtil.Destroy(this.gameObject)
end